<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <style>

        html, body {
            margin: 0;
            padding: 0;
        }

        .container {
            width: 1024px;
            height: 900px;
            background-color: skyblue;
            margin: 0 auto;
        }
    </style>
    <title>Title</title>
</head>
<body>

<div class="container">
    哈哈哈哈
</div>

</body>
</html>